package com.javatiaocao.myblog.service;

import com.javatiaocao.myblog.model.Categories;
import com.javatiaocao.myblog.utils.DataMap;

public interface CategoryService {

    DataMap getCategoriesList();

    DataMap addCategory(Categories categories,Integer type);

    DataMap findCategoriesName();

    DataMap findCategoriesNameAndNum();

    DataMap getCategoryArticle(Integer rows, Integer pageNum, String category);
}
